<script src="lib/bootstrap-datepicker.js"></script>
<script src="lib/plupload-2.1.2/js/plupload.full.min.js"></script>


<div class="row">
    <div class="col-lg-12">
        <div class="panel panel-primary">
            <div class="panel-heading">
                <strong>
                    <div ng-hide="id">
                        添加内容
                    </div>
                </strong>
            </div>

            <div class="panel-body">
                <form class="form-horizontal" role="form" ng-submit="createOrUpdate()">
                    <div>
                        <input type="text" ng-model="title" required="true" class="form-control" id="title" placeholder="请输入标题">
                    </div>

                    <div simditor ng-model="content" id="content" required="true"  class="row_section" placeholder="some placeholder"></div>
                    <!--<div class="btn-group">-->
                        <!--<button ng-click="clearEditor()">清空</button>-->
                    <!--</div>-->

                    <div class="row_section">
                        <a href="" ng-click="addAttachment($event)">添加附件</a>
                    </div>

                    <div id="attachment_grp" class="form-group hidden">

                        <div class="col-sm-6">
                            <input id = "attachment" type="text" class="col-sm-4" id="after_evaluation" placeholder="附件名称">
                            <div id="percentage_examine_0" class="col-sm-2 text-center" class="col-sm-1">10%</div>
                            <div class="col-sm-4 text-center">

                                <div id="container_attachment_0" class="col-sm-10">
                                    <a id="browser_attachment_0" href="javascript:;">[选择文件...]</a>
                                </div>

                                <div clas="col-sm-2">
                                    <a href="">
                                        <i class="glyphicon glyphicon-remove">
                                        </i>
                                    </a>
                                </div>

                            </div>
                            <div class="col-sm-2 text-center">

                            </div>
                        </div>
                            <!--<a ng-click="add_after_evaluation()" class="col-sm-2 text_center">添加</a>-->

                    </div>

                    <div class="form-actions">
                        <button type="submit" class="btn btn-default col-sm-offset-4 col-sm-1">保存</button>
                        <button type="button" class="btn col-sm-1 cancel_btn" ng-click="cancel()">取消</button>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>